package A1_4;

public class Alipay implements Payment{
    private String number;
    private double amount;

    public Alipay(String number, double amount) {
        this.number = number;
        this.amount = amount;
    }

    @Override
    public double getAmount() {
        return amount;
    }
}
